package com.example.hello.service;

import com.example.hello.entity.Department;
import java.util.List;

public interface DepartmentService {
    List<Department> listAll();
    void add(String name);
    void update(Integer id, String name);
    void delete(Integer id);
    boolean approve(Integer id);
    Department getById(Integer id);
} 